<?php
/**
 * Created by PhpStorm.
 * Script Name: MiniTester.php
 * Create: 2020/5/23 下午4:22
 * Description: 小程序体验账号
 * Author: fudaoji<fdj@kuryun.cn>
 */

namespace plugin\wechat\app\validate;

use app\common\validate\Common;

class MiniTester extends Common
{
    public function __construct()
    {
        parent::__construct();
    }

    protected $rule = [
        'wechat_id'  =>  'require|max:60',
        'remark'  => 'require|max:20'
    ];

    //错误消息
    protected $message  =   [
        'wechat_id.require' => '微信号必须',
        'wechat_id.max'     => '微信号不合法',
        'remark.require' => '备注必须',
        'remark.max'     => '备注最多不能超过20个字符'
    ];
}